package com.zl.tby.vo;

import lombok.Data;
import org.noear.solon.validation.annotation.Length;
import org.noear.solon.validation.annotation.NotBlank;
import org.noear.solon.validation.annotation.NotNull;
import org.noear.solon.validation.annotation.NotZero;

/**
 * @author wangjl
 * @title: DemoController
 * @projectName share
 * @description: 演示新增表单对象
 * @date 2024/5/916:08
 */
@Data
public class DemoForm {

    /**
     * 标题
     */
    @NotBlank(message = "标题不为空")
    @Length(max = 50, message = "标题最大长度为50")
    private String title;

    /**
     * 内容
     */
    private String content;
}
